package test.factories;

import dominio.Node;

import java.util.ArrayList;

/**
 * Created by CamonZ on 11/17/13.
 */
public class NodeListFactory {

    public static ArrayList<Node> Create(int amountOfNodeElements){
        ArrayList<Node> result = new ArrayList<>(amountOfNodeElements);

        for(int i =0; i< amountOfNodeElements; i++){
            result.add(NodeFactory.Create(i, CostsListFactory.Create(amountOfNodeElements, i)));
        }
        return result;
    }

}
